#include <stdio.h>
int main() {
	int val = 0, val1 = 0, val2 = 0;
	int *p_min = &val;
	printf("请输入三个数字：");
	scanf("%d%d%d", &val, &val1, &val2);
	if (*p_min > val1) {
		p_min = &val1;
	}
	if(*p_min > val2) {
		p_min = &val2;
	}
	printf("最小的数字是%d\n", *p_min);
	return 0;
}
